//
//  WQSearchController.h
//  MeterCircle
//
//  Created by 魏强 on 16/6/24.
//  Copyright © 2016年 魏强. All rights reserved.
//


#import <UIKit/UIKit.h>
static const CGFloat searchBarH = 44.0f;
@protocol WQSearchControllerDelegate;
@interface WQSearchController : UIViewController
@property (nonatomic, weak) id<WQSearchControllerDelegate> delegate;

- (void)hide:(void(^)(void))completion;
- (void)showInViewController:(UIViewController *)controller;

/**  搜索类型(必传) ，用来做本地存储路径区分的 */
@property (nonatomic, copy) NSString * kSearchHistory;

@end

#pragma mark - 协议
@protocol WQSearchControllerDelegate <NSObject>
/**
 *  取消按钮被点击了
 */
- (void)questionSearchCancelButtonClicked:(WQSearchController *)controller;

@end
